﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using FireBillBook.Core.Dtos;
using FireBillBook.Core.Models;
using FireBillBook.Core.Models.QueryContexts;

namespace FireBillBook.Core.Services
{
    public interface IBillingService
    {
        Task<PagingModel<ConsumptionRecordDto>> ListAsync(ConsumptionRecordListQueryContext queryContext);

        Task SaveAsync(ConsumptionRecordDto dto);

        Task DeleteAsync(int id);

        Task<ConsumptionRecordDto> GetByIdAsync(int id);
    }
}
